package school;

public final class JavaTeacher extends Teacher {

	public JavaTeacher(String name, String school) {

		super(name, school);// super在这里的用处？
		System.out.println("构造了java老师");
	}

	public void giveLession() {
		System.out.println("启动myeclipse 2015!");
		super.giveLession();// 调用父类的方法
		// System.out.println("知识点讲解");
		// System.out.println("总结提问！");
	}

	@Override
	public void goodAt() {
		System.out.println("擅长java");
	}

}
